package com.blog.mapper;

import com.blog.pojo.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author: VE
 * @DATE: 2022/10/11 11:42
 * 描述:
 */
@Mapper
public interface MenuMapper {


    int insert(Menu menu);


    int delete(int id);

    int update(Menu menu);


    Menu load(int id);


    List<Menu> getMenuByMap(Map<String, Object> pmap);
}
